package com.atguigu.springcloud.alibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author jxau_scf
 * @date 2022/1/16 - 11:01
 * @EnableDiscoveryClient 该注解用于向使用consul或者zookeeper作为注册中心时注册服务
 * @description 支付服务
 */
@EnableDiscoveryClient
@SpringBootApplication
public class Payment9001Application {
    public static void main(String[] args) {
        SpringApplication.run(Payment9001Application.class, args);
        System.out.println("启动成功");
    }
}
